{% extends "main.html" %} 
{% block title %}Login{% endblock %} 
{% block head %}{% endblock %}

{% block pageHeader %}
{% include "templates/navigation.html" %}
{% endblock %}

{% block content %}
<div class="span-12">
    <div class="loginBox">
        <div class="canvas">
            <div class="head">
                <span>&nbsp;</span>
            </div>
            <div class="body">
                <div class="content">
                    <h2>Sign in to manage</h2>
                    <div class="form">
                    	{%if ErrorMsg%}
                    	<div class=warn>{{ErrorMsg}}</div>
                    	{%endif%}
                        <form  action="/login" method="post">
                            <input type="hidden" value="{{RedirectURL}}" name="RedirectURL" id="RedirectURL" display="none" visibility="hidden">
                            
                            <div class="row">
                                <label class="caption">User Name:</label>
                                <div class="field">
                                    <input type="text" value="" class="text" id="UserName" name="UserName">
                                </div>
                            </div>
                            <div class="row">
                                <label class="caption">Company Name:</label>
                                <div class="field">
                                	<input type="text" value="{{OrgName}}" class="text" id="OrgName" name="OrgName">
                                </div>
                            </div>
                            <div class="row">
                                <label class="caption">Password:</label>
                                <div class="field">
                                    <input type="password" class="text" id="Password" name="Password">
                                </div>
                            </div>
                            <div class="formButtons">
                                <input type="submit" class="button" value="Login" id="signIn" name="signIn">
                            </div>
                        </form>
                    </div>
                    <div class="help">
                        <ul>
                            <li><a href="#">Don't Have an Account?</a></li>
                            <li><a href="#">Lost your Password?</a></li>
                        </ul>
                    </div>
                    <div class="clear"></div>
                </div>
                <div class="clear"></div>
            </div>
            <div class="foot">
                <span>&nbsp;</span>
            </div>
        </div>
    </div>
</div>

<div class="span-12 last">
    <div class="siteIntro">
        <h1>
            Powerful management tools for your HITs
        </h1>
        <p>
            The purpose of the HITs Content Management Tool (HCM) is to automate submission and management of content creation tasks and validation of the results.
        </p>
        <ul>
            <li>
                Submit, Receive, Validate, Approve, and Store Batches of Articles
            </li>
            <li>
                Submit Pre-Written Article for Rework, Receipt, Validation and Approval
            </li>
            <li>
                No software or hardware to install and maintain
            </li>
        </ul>
        <p>
            If you are a <b>Company</b> or <b>Group administrator</b>, sign in here for the control panel
        </p>
    </div>
</div>
{% endblock %}
{% block footer %}
{% include "templates/copyright.html" %}
{% endblock %}
